package com.game.majiang.algorithm;

import lombok.Getter;
import lombok.Setter;

@Getter
public enum carddata {
	NULL(0, "NULL"), Tong1(1, "一筒"), Tong2(2, "二筒"), Tong3(3, "三筒"), Tong4(4, "四筒"),Tong5(5,"五筒"),Tong6(6,"六筒"),Tong7(7,"七筒"),Tong8(8,"八筒"),Tong9(9,"九筒"),
	Tiao1(11, "一条"), Tiao2(12, "二条"), Tiao3(13, "三条"), Tiao4(14, "四条"),Tiao5(15,"五条"),Tiao6(16,"六条"),Tiao7(17,"七条"),Tiao8(18,"八条"),Tiao9(19,"九条"),
	Wan1(21, "一万"), Wan2(22, "二万"), Wan3(23, "三万"), Wan4(24, "四万"),Wan5(25,"五万"),Wan6(26,"六万"),Wan7(27,"七万"),Wan8(28,"八万"),Wan9(29,"九万"),
	Dong(31, "东"),Nan(41, "南"),Xi(51, "西"),Bei(61, "北"),
	Hongzhong(71, "红中"),Facai(81, "发财"),Baiban(91, "白板"),
	HChun(101, "春"),HXia(102, "夏"),HQiu(103, "秋"),HDong(104, "冬"),HZhu(105, "竹"),HLan(106, "兰"),HMei(107, "梅"),HJu(108, "菊");
	

	@Setter
	private int _value;
	@Setter
	private String _name;
	
	private carddata(int value, String name)
    {
         _value = value;
         _name = name;     
    }
	
	@Override
	public String toString() {
		return _name;
	}
}